package com.D5Power.Editor.Shower
{
	import com.D5Power.Editor.EditorScene;
	
	import flash.display.Shape;
	import flash.geom.Rectangle;
	
	/**
	 * 透明部分显示
	 */ 
	public class AlphaShower extends BaseShower
	{
		/**
		 * 数据来源
		 */ 
		private var _from:Shape;
		
		private var lastRect:Rectangle;
		
		
		
		public function AlphaShower(from:Shape,scene:EditorScene)
		{
			_from = from;
			super(scene);
		}
		
		public function flush():void
		{
			//_buffer.fillRect(_buffer.rect,0x00000000);
			_buffer.draw(_from);
		}
	}
}